<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>黑马妹妹</title>
    <link rel="stylesheet" href="./css/normalize.css">
    <!-- 先引入css文件放到css页面上面 -->
    <link rel="stylesheet" href="css/swiper-bundle.min.css">
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
    <section class="wrap">
    <!-- 头部区域 -->
    <div class="header">黑马面面</div>
    <!-- 导航栏部分 -->
    <nav class="nav">
        <a href="#" class="item">
            <img src="./icons/icon1.png" alt="">
            <span>HR面试</span>
        </a>
        <a href="#" class="item">
            <img src="./icons/icon2.png" alt="">
            <span>笔试</span>
        </a>
        <a href="#" class="item">
            <img src="./icons/icon3.png" alt="">
            <span>技术面试</span>
        </a>
        <a href="#" class="item">
            <img src="./icons/icon4.png" alt="">
            <span>模拟面试</span>
        </a>
        <a href="#" class="item">
            <img src="./icons/icon5.png" alt="">
            <span>面试技巧</span>
        </a>
        <a href="#" class="item">
            <img src="./icons/icon6.png" alt="">
            <span>薪资查询</span>
        </a>
    </nav>
    <!-- go模块 -->
   <section class="go">
       <img src="./images/go.png" alt="">
   </section>
</section>
<!-- 就业指导模块 -->
<section class="content">
    <!-- 头部 -->
   <div class="con-hd">
       <h4>
        <img src="./icons/i2.png" alt="">   
        就业指导</h4>
       <a href="#" class="more">更多>></a>
   </div>
   <!-- 旋转木马轮播图模块 -->
   <div class="get_job_focus">
       <!-- swiper -->
    <div class="swiper mySwiper get_job_fo">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <a href="#">
                    <img src="./images/pic.png" alt="">
                </a>
                <p>老师教你应对面试技巧</p>
            </div>
            <div class="swiper-slide">
                <a href="#">
                    <img src="./images/3.jpg" alt="">
                </a>
                <p>老师教你应对面试技巧</p>
            </div>
            <div class="swiper-slide">
                <a href="#">
                    <img src="./images/ldh.jpg" alt="">
                </a>
                <p>老师教你应对面试技巧</p>
            </div>
        </div>
       
      </div>
       <!-- 这是左右箭头 根据需求把这个代码放到myswiper外面来 -->
       <div class="swiper-button-next"></div>
       <div class="swiper-button-prev"></div>
       <div class="swiper-pagination"></div>
   </div>
</section>
<!-- 充电学习 -->
<section class="content study_con">
    <!-- 头部 -->
   <div class="con-hd">
       <h4>
        <img src="./icons/i2.png" alt="">   
        充电学习</h4>
       <a href="#" class="more">更多>></a>
   </div>
   <!-- 学习模块轮播图 -->
   <div class="study">
        <!-- Swiper -->
    <div class="Swiper mySwiper study_fo">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
              <img src="./images/pic1.png" alt="">
              <h5>说地道英语,告别中式英语</h5>
              <a href="#">156<span>人学习</span></a>
            </div>
            <div class="swiper-slide">
                <img src="./images/pic2.png" alt="">
                <h5>说地道英语,告别中式英语</h5>
                <a href="#">156<span>人学习</span></a>
              </div>
              <div class="swiper-slide">
                <img src="./images/pic.png" alt="">
                <h5>说地道英语,告别中式英语</h5>
                <a href="#">156<span>人学习</span></a>
              </div>
          
        </div>
        <div class="swiper-pagination"></div>
      </div>
   </div>
</section>
<!-- 底部构造 -->
    <footer class="footer">
        <a href="#" class="item">
            <img src="./icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/ms.png" alt="">
            <p>模拟面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/net.png" alt="">
            <p>技术面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/user.png" alt="">
            <p>我的主页</p>
        </a>
    </footer>
    <script src="./js/flexible.js"></script>
    <!-- 引入swiper js文件 -->
    <script src="js/swiper-bundle.min.js"></script>
    <script>
        (function () {
            var swiper = new Swiper(".get_job_fo", {
                // js这边命名很重要别搞错了
                // 轮播图显示的个数
        slidesPerView: 2,
        // 每个slide之间的距离
        spaceBetween: 30,
        slidesPerGroup: 1,
        // 这个是要不要居中显示
        centeredSlides: true,
        loop: true,
        loopFillGroupWithBlank: true,
        pagination: {
          clickable: true,
        },
        //   下面是左右箭头
          navigation: {
            nextEl: ".swiper-button-next",
            prevEl: ".swiper-button-prev",
        
          },
        });
        } )();
        // 第二个函数的轮播图
        (function () {
            // myswiper如果有多个轮播图最好修改一下
            var swiper = new Swiper(".study_fo", {
                // 我们可以看见的是两个半
        slidesPerView: 2.2,
        spaceBetween: 20,
      });
    })();
      </script>
</body>
</html>